home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 4
/
The Arsenal Files 4 (Arsenal Computer).ISO
/
casm
/
au116-as.exe
/
IBMDOS
/
FTIME.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1994-06-05
|
642b
|
28 lines
#include "..\au.hpp"
/**********************************************************************/
void get_file_time(AU *au, char *file_name, struct ftime *ftime_hold)
{
HANDLE handle(0);
if (handle.open(au, file_name, O_RDONLY | O_BINARY) == SUCCESS)
{
handle.get_time(ftime_hold);
handle.close();
}
return;
}
/**********************************************************************/
void set_file_time(AU *au, char *file_name, struct ftime *ftime_hold)
{
HANDLE handle(0);
if (handle.open(au, file_name, O_RDONLY | O_BINARY) == SUCCESS)
{
handle.set_time(ftime_hold);
handle.close();
}
return;
}